import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    user:'',
    isShowDefault:true,
    result:""
  },
  getters: {
  },
  mutations: {
    changeUser(state, data) {
      state.user = data
    },
    changeDefault(state, data) {
      state.isShowDefault = data
    },
    // changeResult(state, data) {
    //   state.result = data
    // }
  },
  actions: {

  },
  modules: {
  }
})
